// 站点主色
$--menuBg: var(--menuBg, #000D42);
// tips: 要达到整站主题修改效果, 请确保[$--color-primary]站点主色与[/src/element-ui-theme/index-dev.js]文件中[import './element-[#17B3A3]/index.css']当前主题色一致
// $--color-primary: var(color-primary, #0527AF);
$--color-primary: var(color-primary, #4469D0);
//
// $--color-primary: #4469D0;
// 文字颜色
$--text-color: #000;

// table详情划过颜色
$--hover-color: #4d92ec;

// 菜单栏背景图
// $--silder-bg: var(slider-bg, url("../assets/xiaweitu.png"))

/*按钮*/
// 默认边框
$--button-normal-border-color: #CED0DA;
// 默认背景色
$--button-normal-background: #FFFF;
// 禁用边框
$--button-disable-border-color: #CED0DA;
// 禁用背景色
$--button-disable-background: #F5F7F9;
// 禁用字体颜色
$--button-disable-text-color: #CED0DA;

/*表格*/
// 表格头部颜色
$--table-header-background: #f6f8fa;
// Navbar
$navbar--background-color: $--color-primary;

/*分页*/
// 分页选中背景色
$--el-pagination-background: #F0F1F5;

/*弹窗*/
// title背景色
$--dialog-background-color: #F5F7F9;
// Sidebar
$sidebar--background-color-dark: $--color-primary;
$sidebar--color-text-dark: #303133;


// Content
$content--background-color: #dcdfe6;




*,
*:before,
*:after {
  box-sizing: border-box;
}
html{
  height: 100%;
}
body {
  // font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-family: Microsoft YaHei;
  font-size: 14px;
  line-height: 1.15;
  color: #303133;
  background-color: #FFFFFF;
  height: 100%;
}
a {
  // color: mix(#fff, $--color-primary, 20%);
  color: #fff;
  text-decoration: none;
  &:focus,
  &:hover {
    color: $--hover-color;
    text-decoration: underline;
  }
}
img {
  vertical-align: middle;
}


/* Utils
------------------------------ */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}


/* Animation
------------------------------ */
.fade-enter-active,
.fade-leave-active {
  transition: opacity .5s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}


/* Reset element-ui
------------------------------ */
.site-wrapper {
  .el-pagination {
    margin-top: 15px;
    text-align: center;
  }
}


/* Layout
------------------------------ */
.site-wrapper {
  position: relative;
  min-width: 1180px;
  height: 100%;
}


/* Sidebar fold
------------------------------ */
.site-sidebar--fold {
  .site-navbar__header,
  .site-navbar__brand,
  .site-sidebar,
  .site-sidebar__inner,
  .el-menu.site-sidebar__menu {
    width: 64px;
  }
  .site-navbar__body,
  .site-content__wrapper {
    margin-left: 64px;
  }
  .site-navbar__brand {
    &-lg {
      display: none;
    }
    &-mini {
      display: inline-block;
    }
  }
  .site-sidebar,
  .site-sidebar__inner {
    overflow: initial;
  }
  .site-sidebar__menu-icon {
    margin-right: 0;
    font-size: 20px;
  }
  .site-content--tabs > .el-tabs > .el-tabs__header {
    left: 64px;
  }
}
// animation
.site-navbar__header,
.site-navbar__brand,
.site-navbar__body,
.site-sidebar,
.site-sidebar__inner,
.site-sidebar__menu.el-menu,
.site-sidebar__menu-icon,
.site-content__wrapper,
.site-content--tabs > .el-tabs .el-tabs__header {
  transition: inline-block .3s, left .3s, width .3s, margin-left .3s, font-size .3s;
}


/* Navbar
------------------------------ */
.site-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  height: 80px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  // background-color: $navbar--background-color;

  &--inverse {
    .site-navbar__body {
      background-color: transparent;
    }
    .el-menu {
      > .el-menu-item,
      > .el-submenu .el-submenu__title {
        color: #fff;
        &:focus,
        &:hover {
          color: #fff;
          // background-color: mix(#000, $navbar--background-color, 15%);
          background-color: #000;
        }
      }
      > .el-menu-item.is-active,
      > .el-submenu.is-active .el-submenu__title {
        // border-bottom-color: mix(#fff, $navbar--background-color, 85%);
        border-bottom-color: #fff;
      }
      .el-menu-item i,
      .el-submenu__title i,
      .el-dropdown {
        color: #fff;
      }
    }
    .el-menu--popup-bottom-start {
      background-color: $navbar--background-color;
    }
  }

  &__header {
    position: relative;
    float: left;
    width: 230px;
    height: 50px;
    overflow: hidden;
  }
  &__brand {
    display: table-cell;
    vertical-align: middle;
    width: 230px;
    height: 50px;
    margin: 0;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;

    &-lg,
    &-mini {
      margin: 0 5px;
      color: #fff;
      &:focus,
      &:hover {
        color: #fff;
        text-decoration: none;
      }
    }
    &-mini {
      display: none;
    }
  }
  &__switch {
    font-size: 18px;
    border-bottom: none !important;
  }
  &__avatar {
    border-bottom: none !important;
    * {
      vertical-align: inherit;
    }
    .el-dropdown-link {
      > img {
        width: 36px;
        height: auto;
        margin-right: 5px;
        border-radius: 100%;
        vertical-align: middle;
      }
    }
  }
  &__body {
    position: relative;
    // margin-left: 160px;
    padding-right: 15px;
    // background-color: #fff !important;
    background-color: $sidebar--background-color-dark !important;
  }
  &__menu {
    float: left;
    background-color: transparent;
    border-bottom: 0;

    &--right {
      float: right;
    }
    a:focus,
    a:hover {
      text-decoration: none;
    }
    .el-menu-item,
    .el-submenu .el-submenu__title {
      height: 80px;
      line-height: 80px;
    }
    .el-submenu > .el-menu {
      top: 55px;
    }
    .el-badge {
      display: inline;
      z-index: 2;
      &__content {
        line-height: 16px;
      }
    }
  }
}


/* Sidebar
------------------------------ */
.site-sidebar {
  position: fixed;
  top: 90px;
  left: 0;
  bottom: 0;
  z-index: 1020;
  overflow-y: auto;
  overflow-x: hidden;
  width: 200px !important;
  background: white;
  // border-radius:6px ;
  // border-bottom-left-radius: 0;

  &--dark,
  &--dark-popper {
    background-color: $sidebar--background-color-dark;
    .site-sidebar__menu.el-menu,
    > .el-menu--popup {
      background-color: $sidebar--background-color-dark;
      .el-menu-item,
      .el-submenu .el-submenu__title {
        color: $sidebar--color-text-dark;
        &:focus,
        &:hover {
          color: mix(#fff, $sidebar--color-text-dark, 50%);
          // background-color: mix(#fff, $sidebar--background-color-dark, 2.5%);
          background-color: #fff;
          background-color:#e95454;
        }
      }
      .el-menu,
      .el-submenu.is-opened {
        // background-color: mix(#000, $sidebar--background-color-dark, 15%);
        background-color: #000;
      }
      .el-menu-item.is-active,
      .el-submenu.is-active .el-submenu__title {
        // color: mix(#fff, $sidebar--color-text-dark, 80%);
        color: #fff;
      }
    }
  }
  &__inner {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 100%;
    padding-bottom: 15px;
    overflow-y: scroll;
  }
  &__menu.el-menu {
    width: 200px;
    border-right: 0;
  }
  &__menu-icon {
    width: 24px;
    margin-right: 5px;
    text-align: center;
    font-size: 16px;
    // color: inherit !important;
  }
}


/* Content
------------------------------ */
.site-content {
  // position: relative;
  // padding: 15px;
  padding: 10px;
  height: 100%;

  &__wrapper {
    position: relative;
    padding-top: 80px;
    margin-left: 200px;
    height: 100%;
    background: $content--background-color;
  }
  &--tabs {
    // padding: 10px 0 0;
  }
  > .el-tabs {
    > .el-tabs__header {
      position: fixed;
      top: 50px;
      left: 160px;
      right: 0;
      z-index: 930;
      padding: 0 55px 0 15px;
      box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .12), 0 0 6px 0 rgba(0, 0, 0, .04);
      background-color: #fff;
      > .el-tabs__nav-wrap {
        margin-bottom: 0;
        &:after {
          display: none;
        }
      }
    }
    > .el-tabs__content {
      padding: 0 15px 15px;
      > .site-tabs__tools {
        position: fixed;
        top: 50px;
        right: 0;
        z-index: 931;
        height: 40px;
        padding: 0 12px;
        font-size: 16px;
        line-height: 40px;
        background-color: $content--background-color;
        cursor: pointer;
        .el-icon--right {
          margin-left: 0;
        }
      }
    }
  }
}

//详情padding
.detailContent{
  padding: 20px 20px 0 20px;
  position: relative;
}

//详情返回按钮
.back{
  float: right;
}
//详情返回按钮
.goback{
  margin:10px 0;
  float:right;
}
//
.el-select {
  //width: 100%;
}
/*滚动条*/
::-webkit-scrollbar {
  width: 5px;
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background: #e7e9ee;
  border-radius: 2.5px;
}
::-webkit-scrollbar {
  height: 5px;
  background-color: #fff;
}
*{
  scrollbar-width:thin;
  scrollbar-color:$sidebar--background-color-dark transparent;
  -ms-overflow-style: none;
}

// 树状图

.org-tree-container {
  display: inline-block;
  // padding: 10px;
  background-color: #fff
}

.org-tree {
  display: table;
  text-align: center;
  margin: 0 auto;
}

.org-tree:after,
.org-tree:before {
  content: "";
  display: table
}

.org-tree:after {
  clear: both
}

.org-tree-node,
.org-tree-node-children {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none
}

.org-tree-node-children:after,
.org-tree-node-children:before,
.org-tree-node:after,
.org-tree-node:before {
  transition: all .35s
}

.org-tree-node-label {
  position: relative;
  display: inline-block
}

.org-tree-node-label .org-tree-node-label-inner {
  background: $sidebar--background-color-dark;
  color: white;
  margin: 10px 15px;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
  border-radius:5px ;
}

.org-tree-node-btn {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 20px;
  height: 20px;
  z-index: 10;
  margin-left: -11px;
  margin-top: 9px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: all .35s ease
}

.org-tree-node-btn:hover {
  background-color: #e7e8e9;
  -webkit-transform: scale(1.15);
  transform: scale(1.15)
}

.org-tree-node-btn:after,
.org-tree-node-btn:before {
  content: "";
  position: absolute
}

.org-tree-node-btn:before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 0;
  border-top: 1px solid #ccc
}

.org-tree-node-btn:after {
  top: 4px;
  left: 50%;
  bottom: 4px;
  width: 0;
  border-left: 1px solid #ccc
}

.org-tree-node-btn.expanded:after {
  border: none
}

.org-tree-node {
  padding-top: 20px;
  display: table-cell;
  vertical-align: top
}

.org-tree-node.collapsed,
.org-tree-node.is-leaf {
  padding-left: 25px;
  padding-right: 25px
}

.org-tree-node:after,
.org-tree-node:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 19px
}

.orgRed .org-tree-node:after {
  left: 50%;
  border-left: 1px solid $sidebar--background-color-dark
}
.orgGray .org-tree-node:after {
  left: 50%;
  border-left: 1px solid #d3d6db
}

.orgRed .org-tree-node:not(:first-child):before,
.orgRed .org-tree-node:not(:last-child):after {
  border-top: 1px solid $sidebar--background-color-dark
}

.orgGray .org-tree-node:not(:first-child):before,
.orgGray .org-tree-node:not(:last-child):after {
  border-top: 1px solid #d3d6db
}

.collapsable .org-tree-node.collapsed {
  padding-bottom: 30px
}

.collapsable .org-tree-node.collapsed .org-tree-node-label:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 50%;
  height: 20px;
  border-right: 1px solid #ddd
}

.org-tree>.org-tree-node {
  padding-top: 0
}

.org-tree>.org-tree-node:after {
  border-left: 0
}

.org-tree-node-children {
  padding-top: 20px;
  display: table
}

.orgRed .org-tree-node-children:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 20px;
  border-left: 1px solid $sidebar--background-color-dark
}
.orgGray .org-tree-node-children:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 20px;
  border-left: 1px solid #d3d6db
}

.org-tree-node-children:after {
  content: "";
  display: table;
  clear: both
}

.horizontal .org-tree-node {
  display: table-cell;
  float: none;
  padding-top: 0;
  padding-left: 20px
}

.horizontal .org-tree-node.collapsed,
.horizontal .org-tree-node.is-leaf {
  padding-top: 10px;
  padding-bottom: 10px
}

.horizontal .org-tree-node:after,
.horizontal .org-tree-node:before {
  width: 19px;
  height: 50%
}

.horizontal .org-tree-node:after {
  top: 50%;
  left: 0;
  border-left: 0
}

.horizontal .org-tree-node:only-child:before {
  top: 1px;
  border-bottom: 1px solid #ddd
}

.horizontal .org-tree-node:not(:first-child):before,
.horizontal .org-tree-node:not(:last-child):after {
  border-top: 0;
  border-left: 1px solid #ddd
}

.horizontal .org-tree-node:not(:only-child):after {
  border-top: 1px solid #ddd
}

.horizontal .org-tree-node .org-tree-node-inner {
  display: table
}

.horizontal .org-tree-node-label {
  display: table-cell;
  vertical-align: middle
}

.horizontal.collapsable .org-tree-node.collapsed {
  padding-right: 30px
}

.horizontal.collapsable .org-tree-node.collapsed .org-tree-node-label:after {
  top: 0;
  left: 100%;
  width: 20px;
  height: 50%;
  border-right: 0;
  border-bottom: 1px solid #ddd
}

.horizontal .org-tree-node-btn {
  top: 50%;
  left: 100%;
  margin-top: -11px;
  margin-left: 9px
}

.horizontal>.org-tree-node:only-child:before {
  border-bottom: 0
}

.horizontal .org-tree-node-children {
  display: table-cell;
  padding-top: 0;
  padding-left: 20px
}

.horizontal .org-tree-node-children:before {
  top: 50%;
  left: 0;
  width: 20px;
  height: 0;
  border-left: 0;
  border-top: 1px solid #ddd
}

.horizontal .org-tree-node-children:after {
  display: none
}

.horizontal .org-tree-node-children>.org-tree-node {
  display: block
}

/*# sourceMappingURL=style.css.map */

// 树状图禁用
.vue-treeselect--disabled .vue-treeselect__control {
  background-color: #f5f7fa !important;
  cursor: no-drop !important;
}
//详情上层蒙版
.detailBackground{
  width:100%;
  height:100%;
  background-color: rgba(222, 222, 222,0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

//弹出框高度
.el-dialog__body{
  max-height: 620px;
  overflow: auto;
}

//树状图下拉 禁用
.vue-treeselect--disabled .vue-treeselect__single-value {
  position: static;
  background-color: #f5f7fa;
  border-color: #e4e7ed;
  //color: #c0c4cc;
  color: black;
  cursor: not-allowed;
}
//禁用
.el-input.is-disabled .el-input__inner {
  // background-color: #f5f7fa;
  // border-color: #e4e7ed;
  color: black;
  // cursor: not-allowed;
}

//列表页布局
.operationBtn {
  float: left;
}

.searchFrom {
  float: right;
}

//弹出框
.el-dialog{
  margin-top: 150px !important;
}
.el-dialog__header {
  background: $sidebar--background-color-dark;
}
.el-dialog__title{
  color: white;
}
.el-dialog__headerbtn .el-dialog__close,
.el-dialog__headerbtn .el-dialog__close:hover
{
  color: white;
}

.dialogContent {
  max-height: 550px;
}

//弹出框分组标题
.el-collapse-item__header{
  font-size: 16px;
  font-weight: bold;
}
//弹出框
.el-dialog__footer{
  text-align: center;
}

//提示框 footer布局
.btn-custom-cancel{
  // float: right;
  margin-left: 10px;
}
.el-message-box__btns {
  padding: 5px 15px 0;
  text-align: center;
  width: 180px;
  margin: auto;
}
.el-message-box__content {
  position: relative;
  padding: 30px 15px;
  color: #606266;
  font-size: 14px;
}

//多层查询间距
.searchFrom .el-form-item{
  margin-bottom: 10px;
}

//列表 未完成 红色显示
.noRed{
  color: red;
  font-weight: bold;
}

//提示弹框
.el-message-box{
  border: 0;
}
.el-message-box__header{
  background: $--dialog-background-color;
}
.el-message-box__title >span{
  color: #FFFFFF;
  font-weight: bold;
  font-size: 16px;
}
.el-message-box__headerbtn .el-message-box__close{
  color: #FFFFFF;
}

//范围日期选择器 文字显示不全
.el-date-editor .el-range-separator{
  width: 10%;
}

//tab选项字体变红变大
.el-tabs__item.is-active {
  font-weight: bold;
  // font-size: 18px;
}

// el-button
.el-button--primary {
  background: $--button-normal-background;
  color: $--text-color;
  border-color: $--button-normal-border-color;
}
.el-button--primary:focus, .el-button--primary:hover {
  background: #FFFFFF;
  border-color: #68a9ff;
  color: $--text-color;
}
.el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  color: $--button-disable-text-color;
  background-color: $--button-disable-background;
  border-color: $--button-disable-border-color;
}
.el-button:focus, .el-button:hover {
  color: $--text-color;
  border-color: #c6e2ff;
  background-color: #FFFFFF;
}

/*input搜索*/
.el-input-group__append, .el-input-group__prepend {
  background-color: $--color-primary;
  color: #FFFFFF;
}

/*el-table*/
.el-table tr {
  height: 54px;
}
.el-table th {
  background-color: $--table-header-background;
  height: 54px;
}
.content .listContent .el-table__body-wrapper {
  top: unset!important;
}
.el-table__header-wrapper, .el-table__body-wrapper {
  .el-table__header, .el-table__body {
    thead, tbody {
      tr, .el-table__row {
        //.el-table-column--selection
        th, td {
          .cell {
            .el-checkbox, .el-radio {
              .el-checkbox__input, .el-radio__input {
                .el-checkbox__inner, .el-radio__inner {
                  border: 1px solid #9b9ea5;
                }
              }
            }
          }
        }
      }
    }
  }
}

/*分页*/
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: $--el-pagination-background;
  color: $--text-color;
}
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li {
  background-color: #FFFFFF;
  border: 1px solid #ddd;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover {
  color: $--text-color;
}
.el-pagination {
  //padding: 60px 5px 2px 5px;
}

/*NavMenu左侧菜单*/
.el-sub-menu__title:hover {
  color: #FFFFFF;
  border: 1px solid;
  border-image: linear-gradient(#DB9508, #EE9F04, #FFA800) 1 10 1;
  background-image: linear-gradient(180deg, rgba(255, 211, 0, 0.00) 0%, rgba(255, 205, 0, 0.17) 57%, rgba(255, 200, 0, 0.45) 100%);
}
.el-menu-item.is-active {
  border: none;
  background-image: linear-gradient(270deg, rgba(5, 255, 229, 0.00) 0%, rgba(5, 255, 229, 0.37) 96%);
}
.el-menu-item:focus, .el-menu-item:hover {
  color: #FFFFFF;
  border: 1px solid;
  border-image: linear-gradient(#DB9508, #EE9F04, #FFA800) 1 10 1;
  background-image: linear-gradient(180deg, rgba(255, 211, 0, 0.00) 0%, rgba(255, 205, 0, 0.17) 57%, rgba(255, 200, 0, 0.45) 100%);
}
.el-sub-menu .el-menu .el-menu-item:hover {
  background-image: linear-gradient(270deg, rgba(5, 255, 229, 0.00) 0%, rgba(5, 255, 229, 0.37) 96%) !important;
  border: none;
  border-image: none;
  color: #05FFE5;
}
.el-submenu__title {
  font-size: 15px;
}
.el-menu-item {
  font-size: 15px;
}
.el-submenu .el-menu-item {

}
.left >.sidebar-container > .el-scrollbar > .scrollbar-wrapper > .el-scrollbar__view > .el-menu > div > a > li > span {
  font-size: 15px;
}
.el-menu > div > li > ul > .nest-menu > a > li > span {
  font-size: 14px;
  margin-left: 17px;
}

/*.el-dialog*/
.el-dialog__header {
  background: $--dialog-background-color;
}
.el-dialog__title {
  color: $--text-color;
}
.el-dialog__headerbtn .el-dialog__close, .el-dialog__headerbtn .el-dialog__close:hover {
  color: $--text-color;
}
.el-message-box__title > span {
  color: $--text-color;
}
.el-message-box__headerbtn .el-message-box__close {
  color: $--text-color;
}
.el-message-box__header {
  //padding: 33px 15px 10px;
}
/*步骤条*/
// 进度颜色
.el-step__title.is-finish {
  color: $--text-color;
}

/*面包屑*/
.el-breadcrumb__inner {
  font-weight: bolder;
}


//表头文字颜色
.el-table thead {
  color: #303133;
  font-weight: 500;
}

//列表某一列禁用，撤销显示
.el-table .disabled-row {
  background: #f5f8fd;
  color: #909399;
}

.link-color:hover {
  color: #4d92ec;
}

// el-breadcrumb 面包屑
.app-breadcrumb.el-breadcrumb .no-redirect {
  color: $--menuBg!important;
}

// el-select
// ::v-deep .el-select-dropdown .el-scrollbar .el-select-dropdown__wrap .el-scrollbar__wrap .el-scrollbar__view .el-select-dropdown__list .el-select-dropdown__item .selected {
//   color: #f00!important;
// }
// ::v-deep .el-scrollbar__view el-select-dropdown__list {

// }
// .el-select-dropdown .el-scrollbar .el-select-dropdown__wrap.el-scrollbar__wrap .el-scrollbar__view.el-select-dropdown__list .el-select-dropdown__item.selected {
//   color: $--color-primary;
// }
// .el-select-dropdown__item.selected{color: $--menuBg!important;}
